<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>查看商家信息</title>
<link href="${rc.getContextPath()}/resources/css/common.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="${rc.getContextPath()}/resources/js/jquery.js"></script>
<script type="text/javascript" src="${rc.getContextPath()}/resources/js/common.js"></script>
<script type="text/javascript" src="${rc.getContextPath()}/resources/js/input.js"></script>
<script type="text/javascript">
var storeId='${storeId!}';
function goBackToList() {
	var url = "${rc.getContextPath()}/store/admin/list.html";
	location.href = url;
};
</script>
</head>
<body>
	<div class="path">
		<b>查看商家信息</b>
	</div>
	<form action="" method="post" id="tableForm" name="tableForm" enctype="multipart/form-data">
		<table class="input tabContent">
			<tbody>
				<tr>
					<th><span class="requiredField">*</span>商家名称:</th>
					<td>
						<input type="text" name="companyName" value="${company.companyName!}"/>
					</td>
					<th><span class="requiredField">*</span>商家地址:</th>
					<td>
						<input type="text" id="address" name="address" value="${company.address!}"/>
					</td>
				</tr>				
				<tr>
					<th>联系电话:</th>
					<td>
						<input type="text" name="linkUrl" value="${company.telephone!}" />
					</td>
					<th>特色说明:</th>
					<td><input class="w150" type="text" name="characteristics" value="${store.characteristics!}" /></td>
				</tr>
				<tr>
					<th>产品评价:</th>
					<td>
						<input type="text" name="productEvaluate" value="${store.productEvaluate!}" />
					</td>
					<th>环境评价:</th>
					<td><input class="w150" type="text" name="envEvaluate" value="${store.envEvaluate!}" /></td>
				</tr>
				<tr>
					<th>服务评价:</th>
					<td>
						<input type="text" name="servEvaluate" value="${store.servEvaluate!}" />
					</td>
					<th>人均消费:</th>
					<td><input class="w150" type="text" name="per" value="${store.per!}" /></td>
				</tr>								
				<tr>
					<th>标签:</th>
					<td>
						<input type="hidden" id="tagIds" name="tagIds" value="${tagIds!}"/>
						<input type="text" id="tagName" name="tagName" value="${tagName!}"/></td>
					<th>图标:</th>
					<td><input class="w150" type="text" name="iconId" value="${icon.title!}" /></td>
				</tr>
				<tr>
					<th>会员专享折数:</th>
					<td colspan="3">
						<input type="text" name="memberCount" value="${store.memberCount!}"/>
					</td>
					<!--  
					<th>会员专享说明:</th>
					<td>
						<input type="text" name="memberDesc" value="${store.memberDesc!}" id="memberDesc"/>
					</td>
					 -->
				</tr>	
				<tr>
					<th>优惠信息:</th>
					<td colspan="3">
						<textarea rows="8" cols="85" name="discountInfo">${store.discountInfo!}</textarea>
					</td>					
				</tr>								
			</tbody>
		</table>

		<table class="input">
			<colgroup>
				<col width="15%" />
				<col width="35%" />
				<col width="15%" />
				<col width="35%" />
			</colgroup>
			<tr>
				<td></td>
				<td colspan="3">
					<input type="button" class="button" value="返回" onclick="goBackToList()" />
				</td>
			</tr>
		</table>
	</form>
</body>
</html>